import relayNode from "../relay";
import {GraphQLObjectType} from "graphql";
import { attributeFields, resolver } from 'graphql-sequelize';
import { Vlan } from "../models";

const VlanType = new GraphQLObjectType({
  name: "vlan",
  fields: () => Object.assign(
    {},
    attributeFields(Vlan, {
      exclude: [],
      globalId: true,
      allowNull: true,
    }),
    {
    },
  ),
  interfaces: [relayNode.nodeInterface],
});

export default VlanType;
